package com.bstek.service.impl;

import com.bstek.dao.CheckinDao;
import com.bstek.model.domain.Checkin;
import com.bstek.service.CheckinService;
import org.springframework.stereotype.Service;

import javax.inject.Inject;
import java.util.List;
import java.util.Map;

@Service
public class CheckinServiceImpl implements CheckinService {

    @Inject
    CheckinDao checkinDao;

    @Override
    public List<Checkin> getCheckinData(Map<String, Object> map) {
        return checkinDao.getCheckinData(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return checkinDao.count(map);
    }
}
